﻿<phone:PhoneApplicationPage
    x:Class="OnlineVideos.Views.UserSharePAge"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="false">
    <phone:PhoneApplicationPage.Resources>
        <DataTemplate  x:Key="tblkcat">
            <!--<Grid Height="70">
                <StackPanel  Margin="15,0,0,0" Height="50">-->
            <TextBlock Foreground="White"  FontSize="40" LineHeight="60" FontFamily="Calibri" FontWeight="Normal" Loaded="TextBlock_Loaded_1" Text="{Binding}"></TextBlock>
            <!--</StackPanel>
            </Grid>-->
        </DataTemplate>
    </phone:PhoneApplicationPage.Resources>
    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="{StaticResource bipivot}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" Grid.Row="0" Margin="0,0,0,0">
            <Image x:Name="imgLogo"  Style="{StaticResource PivotTitle}"  Margin="10,0,0,0"/>
            <TextBlock x:Name="tblkVideosTitle" Text="Share Video Mix Online" Foreground="White" Style="{StaticResource DetailPagePivotTitle}"/>
        </StackPanel>

        <StackPanel  x:Name="Sharestk" Orientation="Vertical" Grid.Row="1">
            <TextBlock  Text="Description:" Foreground="White" Margin="10,0,0,0" FontSize="28"></TextBlock>
            <TextBox x:Name="tbDes" Height="300" Foreground="Black"  BorderBrush="White" ></TextBox>
            <TextBlock Text="*Other users will be able to see shared video mixes and also download to the device for use" FontSize="16" Foreground="Red" Margin="10,0,0,0"></TextBlock>
            <StackPanel  Orientation="Horizontal" >
                <TextBlock Margin="10,20,0,0" FontSize="22" Visibility="Collapsed" Foreground="White" Text="Choose Category" TextWrapping="Wrap"   Height="80" Width="150"></TextBlock>
                <toolkit:ListPicker BorderBrush="White" x:Name="CategoryList" Width="250" FullModeItemTemplate="{StaticResource tblkcat}" FullModeHeader="Select Category" >
                </toolkit:ListPicker>
                <TextBlock Height="40" Visibility="Collapsed" x:Name="CatVal"  HorizontalAlignment="Right" Text="*mandatory" FontSize="18" Foreground="Red"></TextBlock>
            </StackPanel>
            <Button x:Name="Share" Visibility="Collapsed"  Content="Share" Height="90" Width="200" Margin="20,40,0,0"  Foreground="White" BorderBrush="White" Click="Share_Click"></Button>
        </StackPanel>
        <TextBlock x:Name="ShareTB" Text="This video mix will be available in the online video mixes menu option once it is approved" Foreground="White" VerticalAlignment="Center" TextWrapping="Wrap" Margin="10,0,0,0" Visibility="Collapsed" FontSize="25" Grid.Row="1"></TextBlock>

    </Grid>
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/MainMenu/online.png" Text="Share Mix" Click="ShareVideoMix_Click"/>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
</phone:PhoneApplicationPage>